package com.lcb.manager.configuration;

import org.springframework.util.ResourceUtils;

import java.util.List;

public class Config {

    public static final String password = "123456";

    public static String upload_dir = "/usr/local/images/";

    static {
        if (System.getProperties().getProperty("os.name").contains("Windows")) {
            upload_dir = "C:\\Users\\olin\\Documents\\images\\";
        }
    }

    public static final int coal = 1;

    public static final int electricity = 2;

    public static final int chemical = 3;

    public static final int coal_factory_num = 5;

    public static final int electricity_factory_num = 7;

    public static final int chemical_factory_num = 2;

    public static final int chemical_product_num = 4;

    public static final int[] monthCountArray = new int[]{0, 31, 30, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};

}
